package com.echoesnet.echoesshortvideo.Beans;

import java.io.Serializable;
import java.util.List;

/**
 * Copyright (C) 2017 在线回声（天津）科技发展有限公司
 * 在线回声完全享有此软件的著作权，违者必究
 *
 * @author yqh
 * @version 1.0
 * @modifier
 * @createDate 2018/4/23
 * @description
 */
//@Entity(tableName = "videoDetail")
public class VideoDetailEntity implements Serializable
{
    /*{
        "index":"查询视频在数组中的序列号",
            "videos":[
        {
            "commentNum":"评论数量",
                "content":"视频文字内容",
                "extra":{
            "扩展信息":""
        },
            "followOrNot":"0未关注，1已关注",
                "likeNum":"点赞数量",
                "likeOrNot":"0未点赞，1点赞",
                "location":"位置描述",
                "posx":"坐标信息",
                "posy":"坐标信息",
                "relatedUser":{
            "@用户id":"@用户昵称"
        },
            "shareNum":"分享次数",
                "showType":"横屏竖屏",
                "thumbnails":"缩略图",
                "timeToNow":"发布时间",
                "url":"视频地址",
                "videoId":"视频id",
                "userId":"视频发布者",
                "headPic":"头像"
        }
           ]
    }*/

    private static final long serialVersionUID = 1L;

    private int index;
    private List<Video> videos;

    public int getIndex()
    {
        return index;
    }

    public void setIndex(int index)
    {
        this.index = index;
    }

    public List<Video> getVideos()
    {
        return videos;
    }

    public void setVideos(List<Video> videos)
    {
        this.videos = videos;
    }

    @Override
    public String toString()
    {
        return "VideoDetailEntity{" +
                "index='" + index + '\'' +
                ", videos=" + videos +
                '}';
    }
}
